<form method="post" autocomplete="off">
	<div class="card">
		<div class="card-header">基础设置</div>
		<div class="card-body">
			<div class="form-group">
				<label class="font-weight-bold">cookie标识</label>
				<input type="text" class="form-control" name="title" value="{$_G['setting']['site_name']}">
				<small class="form-text text-muted">自己记录使用</small>
			</div>
			<div class="form-group">
				<label class="font-weight-bold">cookie内容</label>
                <textarea type="text" class="form-control" name="content" value="{$_G['setting']['site_qq']}"></textarea>
				<small class="form-text text-muted">会员Cookie，用来与官网通讯</small>
			</div>
		</div>
		<div class="card-footer">
			<button type="submit" class="btn btn-success ajax-post">保存设置</button>
		</div>
	</div>
</form>

<script type="text/javascript">
	function site_close(input,data){
		$('.site_close').addClass('d-none');
		if(input.val() == 1){
			$('.site_close').removeClass('d-none');
		}
	}
</script>
